package com.segersten.kalaha.util.json;

import java.util.ArrayList;
import java.util.List;

public class Converters {
	
	public static List<Integer> stringToIntArray(String s){
		String []tokens = s.split(",");
		List<Integer> result = new ArrayList<Integer>(tokens.length);
		for(String token : tokens) {
			result.add(Integer.parseInt(token));
		}
		return result;
	}

}
